<?php

namespace DesignNew\AbstractFactory;

class WoodenDoorFactory implements DoorFactory
{
    public function makeDoor():Door
    {
        return new \DesignNew\AbstractFactory\WoodenDoor();
    }

    public function makeFittingExpert():DoorFittingExpert
    {
        return new \DesignNew\AbstractFactory\Carpenter();
    }
}